<me:UIABKOPF x:Class="WPFExcelReport.TAB04"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    Loaded="Window_Loaded"
                     x:Name="TV"
                    FontSize="18"
                    Foreground="Red"
                    Background="White"   
     >
    <me:UIABKOPF.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIABKOPF.Resources>
    <WrapPanel>
        <Button  Click="NewCommand" Height="20" Margin="5,0,0,0" Width="24" Visibility="{Binding IsCanNew,ElementName=TV,Converter={StaticResource bv}}">
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Add.png" />
            </Button.Background>
        </Button>
        <ex:TXT72 Text="{Binding KRS,ElementName=TV}" MaxLength="2"/>
        <TextBlock Grid.Column="0" Text="{Binding Source={Localization:Translate Word=生产单}}" ></TextBlock>
        <TextBlock Grid.Column="1"  FontSize="18" Foreground="Red"  
                      Text="{Binding ABKAUFKRS}" Width="30"/>
        <TextBlock Grid.Column="2" >-</TextBlock>
        <TextBlock  Grid.Column="3"  FontSize="18"
                        Foreground="Red"   
                         Text="{Binding ABKAUFLFD,Converter={StaticResource pnum}}"
                        Width="60"/>

    </WrapPanel>
</me:UIABKOPF> 
